MediaSetMovieTimeScale
TheMediaSetMovieTimeScale
function allows the Movie Toolbox to inform your media handler that the movie's time scale has been changed.
pascal ComponentResult MediaSetMovieTimeScale (ComponentInstance ci, TimeScale newTimeScale);
ci
- Identifies the Movie Toolbox's connection to your derived media handler.
newTimeScale
Specifies the movie's new time scale.DESCRIPTION
The Movie Toolbox calls your derived media handler'sMediaSetMovieTimeScale
function whenever the movie's time scale is changed. Applications can change the movie's time scale by using the Movie Toolbox'sSetMovieTimeScale
function. When the Movie Toolbox calls this function, your media handler should recalculate any time values you have stored that are expressed in the movie's time coordinate system. Changing the movie's time scale may also affect playback of your media.You obtain the initial movie time scale information from the
movieScale
field of the movie parameter structure that the Movie Toolbox provides to yourMediaInitialize
function.Your derived media handler should support this function if your media handler stores time information in the movie's time coordinate system.
RESULT CODES
Any Component Manager result code
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help